package cn.tedu.front.details.dao.persist.repository.Impl;

import cn.tedu.front.details.dao.persist.mapper.JobMapper;
import cn.tedu.front.details.dao.persist.repository.IJobRepository;
import cn.tedu.front.details.pojo.vo.JobVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class JobRepositoryImpl implements IJobRepository {
    @Autowired
    private JobMapper jobMapper;
    //
    @Override
    public JobVO getStandardById(Long id) {
        return jobMapper.getStandardById(id);
    }

    @Override
    public List<JobVO> getStandard() {
        return jobMapper.getStandard();
    }
}
